package com.cake.entity;

import java.io.Serializable;

public class XxProductProductImage implements Serializable {
    /**
     * 商品主键id
     * 表字段 : xx_product_product_image.product
     */
    private Long product;

    /**
     * 商品大图地址
     * 表字段 : xx_product_product_image.large
     */
    private String large;

    /**
     * 商品中图地址
     * 表字段 : xx_product_product_image.medium
     */
    private String medium;

    /**
     * 商品图片源文件
     * 表字段 : xx_product_product_image.source
     */
    private String source;

    /**
     * 商品缩略图地址
     * 表字段 : xx_product_product_image.thumbnail
     */
    private String thumbnail;

    /**
     * 
     * 表字段 : xx_product_product_image.orders
     */
    private Integer orders;

    /**
     * 
     * 表字段 : xx_product_product_image.title
     */
    private String title;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table xx_product_product_image
     *
     * @mbg.generated
     */
    private static final long serialVersionUID = 1L;

    public Long getProduct() {
        return product;
    }

    public void setProduct(Long product) {
        this.product = product;
    }

    public String getLarge() {
        return large;
    }

    public void setLarge(String large) {
        this.large = large == null ? null : large.trim();
    }

    public String getMedium() {
        return medium;
    }

    public void setMedium(String medium) {
        this.medium = medium == null ? null : medium.trim();
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source == null ? null : source.trim();
    }

    public String getThumbnail() {
        return thumbnail;
    }

    public void setThumbnail(String thumbnail) {
        this.thumbnail = thumbnail == null ? null : thumbnail.trim();
    }

    public Integer getOrders() {
        return orders;
    }

    public void setOrders(Integer orders) {
        this.orders = orders;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", product=").append(product);
        sb.append(", large=").append(large);
        sb.append(", medium=").append(medium);
        sb.append(", source=").append(source);
        sb.append(", thumbnail=").append(thumbnail);
        sb.append(", orders=").append(orders);
        sb.append(", title=").append(title);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}